<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<%=basePath%>web/css/style.css" rel="stylesheet"
	type="text/css" />
<link href="<%=basePath%>web/css/index.css" rel="stylesheet"
	type="text/css" />
<script src="<%=basePath%>web/js/jQuery.js" type="text/javascript"></script>
<script type="text/javascript">
var list;
var path = '当前位置： 关于我们 &gt';
   $(function(){
	   $.ajax({
			url:'<%=basePath%>resource/list',
			type:'post',
			data:{
				pagesize:6,
				pageno:1,
				restype:4,
				resName:""
			},
			success:function(data){
				$(".left_ul").empty();
				 list = data.records;
				for (var i = 0; i < list.length; i++) {
					if(i == 0){
					var content = 
						'<li class="left_li"><a class="cur" id="cur_'+list[i].resid+'" href="javascript:loadContent('+list[i].resid+')">'+list[i].resname+'</a></li>';
					}
					else{
					var content = 
						'<li class="left_li"><a id="cur_'+list[i].resid+'"  href="javascript:loadContent('+list[i].resid+')">'+list[i].resname+'</a></li>';
					}
						$(".left_ul").append(content);
				}
				loadContent(list[0].resid);
			}
	   });
	   
	   
   });

   function loadContent(resid){
	   for (var i = 0; i < list.length; i++) {
		   if(list[i].resid != resid){
		      $("#cur_"+list[i].resid).removeAttr("class");
		   }
		   else{
		      $("#cur_"+list[i].resid).attr("class","cur");
		      $(".path").html(path+list[i].resname);
		   }
		
		   
	}
	   $.ajax({
		   url:'<%=basePath%>resource/load',
		   type:'post',
		   data:{
			   resid:resid
		   },
		   success:function(data){
			   $("#res_img").remove();
			   if(data.rescontentlogo!=null && data.rescontentlogo!=""){
				   $(".article").before(" <img id='res_img' src='<%=basePath %>Attachment/ResourcePIC/"+data.rescontentlogo+" ' />");
			   }
			   $(".article").html(data.rescontent);
			}

		});
	}
</script>
<title>关于我们</title>

</head>

<body>
	<!-- 头部区域_begin -->
	<div class="container">
		<div class="header">
			<p class="pwysj_p">配网云数据</p>
			<ul>
				<li><a href="<%=basePath%>web/home.jsp">首页</a></li>
				<li><a href="<%=basePath%>web/jjfa.jsp">解决方案</a></li>
				<li><a href="<%=basePath%>web/download.jsp">下载</a></li>
				<li><a href="<%=basePath%>web/experience.jsp">体验</a></li>
				<li class="li_cur"><a href="<%=basePath%>web/about.jsp"
					class="cur">关于</a></li>
			</ul>
			<div class="right">
				<a href="<%=basePath%>user/login.jsp" class="login">登 录</a> <a
					href="<%=basePath%>user/register.jsp" class="regist">注 册</a>
			</div>
		</div>
	</div>
	<!-- 头部区域_end -->

	<!-- 主体区域_begin -->
	<img src="images/news_down.jpg" style="width: 100%;" alt="" />
	<div class="container about_box">
		<p class="path">当前位置： 关于我们 &gt; 关于鸿讯</p>
		<div class="left">
			<ul class="left_ul">
			</ul>
		</div>
		<div class="right" style="text-align: center;">
			<p class="article"></p>
		</div>
	</div>
	<!-- 主体区域_end -->

	<!-- 底部区域_begin -->
	<%@ include file="/web/foot.jsp"%>
	<!-- 底部区域_end -->
	<script src="js/show_common.js" type="text/javascript"></script>
</body>
</html>
